//
//  HSPhotoBrowser.h
//  AFNetworking
//
//  Created by huang on 2018/8/28.
//

#import <UIKit/UIKit.h>
@class HSPhotoBrowser;
@protocol HSPhotoBrowserDelegate <NSObject>

@required

- (UIImage *)photoBrowser:(HSPhotoBrowser *)browser placeholderImageForIndex:(NSInteger)index;

@optional

- (NSURL *)photoBrowser:(HSPhotoBrowser *)browser highQualityImageURLForIndex:(NSInteger)index;

@end

@interface HSPhotoBrowser : UIView

@property (nonatomic,weak)   UIView *sourceImagesContainerView;
@property (nonatomic,assign) NSInteger currentImageIndex;
@property (nonatomic,assign) NSInteger imageCount;
@property (nonatomic,weak)   id<HSPhotoBrowserDelegate> delegate;

- (void)show;

@end
